Example 002, E-Mail Server

This is a small E-Mail server written in Delphi using CGI interface. This example
illustrates:

1. Web server CGI applications
2. Linking HTML pages with CGI
3. Using Databases
4. Security in Paradox tables

To run this example you need:

1. HTTP web server, such as IIS, Peer Web Server, and Personal web server.
2. Two WWW aliases:

 -
/cgi-bin:  In which you must put MailUsers, and Box tables,
   also you must put the
CGI exe files on it. Make sure that
   the access of this alias is only
Execute. If you enable Read
   access for this alias, every one can download your tables
   and see users password.

 - /Mail: At this alias you must put all .htm, .jpg, and .bmp files.
   The access of this alias is only
Read.

3. (Optional, for more security Set master password for both tables using the number
which will be produced using
GetNum function in Set.pas unit.

Note:

You can assign the two aliases for the same directory in which you extract this
example, but this only could help you for testing, but in real life each alias must
have separate folder.


EMServ.zip